package knowse.app;

import knowse.app.parser.Parser;
import knowse.app.presentation.ProjectListActivity;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class KnowSEActivity extends TabActivity {
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        
    	super.onCreate(savedInstanceState);  
        setContentView(R.layout.main);  
  
        TabHost tabHost = getTabHost();  
        TabHost.TabSpec spec;  
        Intent intent;
  
        intent = new Intent().setClass(this, TestDbActivity.class);  
        spec = tabHost.newTabSpec("TestDB").setIndicator("TestDB")  
                      .setContent(intent);  
        tabHost.addTab(spec);  
  
        intent = new Intent().setClass(this, ProjectListActivity.class);  
        spec = tabHost.newTabSpec("Projects").setIndicator("Projects")  
                      .setContent(intent);  
        tabHost.addTab(spec);  
  
//        intent = new Intent().setClass(this, ThirdActivity.class);  
//        spec = tabHost.newTabSpec("GraphView").setIndicator("GraphView")  
//                      .setContent(intent);  
//        tabHost.addTab(spec);  
  
        intent = new Intent().setClass(this, FourthActivity.class);  
        spec = tabHost.newTabSpec("Snowdon").setIndicator("Snowdon")  
                      .setContent(intent);  
        tabHost.addTab(spec);
        
        Parser p = new Parser();
    }
}